//
//  Multi_Server_GY_History.h
//  MacStockApp
//
//  Created by Andy MacPro on 12/11/15.
//
//

#import <Foundation/Foundation.h>
#import "Data_Model.h"
#import "Data_Object.h"

@interface Multi_Server_GY_History : NSOperation {
    
    NSString *code;
    NSString *read_write_file_code; //讀寫檔案的代碼
    NSDate *table_quote_date; //目前報價表上的時間 也就是報價時間
    NSString *timezone;
    
    BOOL have_to_reload_data;
    
    id delgeate;
}

@property(retain) id delgeate;
-(id)init_With_Code:(NSString *)codea file_code:(NSString *)file_code table_quote_date:(NSDate *)dateq timezone:(NSString *)tz  is_have_to_reload_data:(BOOL)have_to_reload;

-(NSMutableDictionary *)Get_hisstory_data_startdate:(NSDate *)start_date end_date:(NSDate *)end_date;
-(NSMutableArray *)Get_5d_hisstory_data;

//輸入NSDate 轉出int
-(int)convert_NSDate_to_int:(NSDate *)nsdate;

@end
